﻿<?xml version="1.0" encoding="utf-8"?>
<!-- 
This file is part of Ingo Karstein's SharePoint 2010 Workflow Demo project

**Do not remove this comment**

Please see the project homepage at CodePlex:
  http://spworkflowdemo.codeplex.com/

Please see my blog:
  http://ikarstein.wordpress.com

Licence: GPLv2
    SharePoint 2010 Workflow Demo
    Copyright (C) 2011  Ingo Karstein, ikarstein@hotmail.com

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<List xmlns:ows="Microsoft SharePoint" Title="Workflow 1 Tasks" 
      FolderCreation="FALSE" Direction="$Resources:Direction;" 
      EnableContentTypes="TRUE" VersioningEnabled="TRUE"
      Url="Lists/Workflow1Tasks" 
      Type="107" BaseType="0" 
      xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType ID="0x01080100FFbc98c2529347a5886b8d2576b954ef"
                   Name="Workflow 1 Tasks 1"
                   Group="Workflow 1 Tasks"
                   Description="Content Type of Tasks 1 of Workflow 1">
        <FieldRefs>
          <FieldRef ID="{2FE15855-3CAB-44A6-AB29-1600204FCA20}" Name="Workflow1Task1_Test1" DisplayName="Test1" Required="FALSE" Hidden="FALSE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node="" />
          <FieldRef ID="{517B22A5-1B89-4C24-82BE-3D4FD99645BC}" Name="Workflow1Task1_Test2" DisplayName="Test2" Required="FALSE" Hidden="FALSE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node="" />
          <FieldRef ID="{3ECFF1FE-F56B-4556-8805-4570D9422FF4}" Name="Workflow1Task1_Test3" DisplayName="Test3" Required="FALSE" Hidden="FALSE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node="" />

          <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType" />
          <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
          <FieldRef ID="{c3a92d97-2b77-4a25-9698-3ab54874bc6f}" Name="Predecessors" />
          <FieldRef ID="{a8eb573e-9e11-481a-a8c9-1104a54b2fbd}" Name="Priority" />
          <FieldRef ID="{c15b34c3-ce7d-490a-b133-3f4de8801b76}" Name="Status" />
          <FieldRef ID="{d2311440-1ed6-46ea-b46d-daa643dc3886}" Name="PercentComplete" />
          <FieldRef ID="{53101f38-dd2e-458c-b245-0c236cc13d1a}" Name="AssignedTo" />
          <FieldRef ID="{7662cd2c-f069-4dba-9e35-082cf976e170}" Name="Body" />
          <FieldRef ID="{64cd368d-2f95-4bfc-a1f9-8d4324ecb007}" Name="StartDate" />
          <FieldRef ID="{cd21b4c2-6841-4f9e-a23a-738a65f99889}" Name="DueDate" />
          <FieldRef ID="{58ddda52-c2a3-4650-9178-3bbc1f6e36da}" Name="WorkflowLink" />
          <FieldRef ID="{16b6952f-3ce6-45e0-8f4e-42dac6e12441}" Name="OffsiteParticipant" />
          <FieldRef ID="{4a799ba5-f449-4796-b43e-aa5186c3c414}" Name="OffsiteParticipantReason" />
          <FieldRef ID="{18e1c6fa-ae37-4102-890a-cfb0974ef494}" Name="WorkflowOutcome" />
          <FieldRef ID="{e506d6ca-c2da-4164-b858-306f1c41c9ec}" Name="WorkflowName" />
          <FieldRef ID="{ae069f25-3ac2-4256-b9c3-15dbc15da0e0}" Name="GUID" />
          <FieldRef ID="{8d96aa48-9dff-46cf-8538-84c747ffa877}" Name="TaskType" />
          <FieldRef ID="{17ca3a22-fdfe-46eb-99b5-9646baed3f16}" Name="FormURN" />
          <FieldRef ID="{78eae64a-f5f2-49af-b416-3247b76f46a1}" Name="FormData" />
          <FieldRef ID="{8cbb9252-1035-4156-9c35-f54e9056c65a}" Name="EmailBody" />
          <FieldRef ID="{47f68c3b-8930-406f-bde2-4a8c669ee87c}" Name="HasCustomEmailBody" />
          <FieldRef ID="{cb2413f2-7de9-4afc-8587-1ca3f563f624}" Name="SendEmailNotification" />
          <FieldRef ID="{4d2444c2-0e97-476c-a2a3-e9e4a9c73009}" Name="PendingModTime" />
          <FieldRef ID="{35363960-d998-4aad-b7e8-058dfe2c669e}" Name="Completed" />
          <FieldRef ID="{1bfee788-69b7-4765-b109-d4d9c31d1ac1}" Name="WorkflowListId" />
          <FieldRef ID="{8e234c69-02b0-42d9-8046-d5f49bf0174f}" Name="WorkflowItemId" />
          <FieldRef ID="{1c5518e2-1e99-49fe-bfc6-1a8de3ba16e2}" Name="ExtendedProperties" />
        </FieldRefs>
        <XmlDocuments>
          <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
            <FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
              <Display>ListForm</Display>
              <Edit>ListForm</Edit>
              <New>ListForm</New>
            </FormTemplates>
          </XmlDocument>
          <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
            <FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
              <Edit>Workflow1Forms/Task1Form.aspx</Edit>
            </FormUrls>
          </XmlDocument>
        </XmlDocuments>
      </ContentType>
    </ContentTypes>
    <Fields>
       <!-- Fields for Task 1 of Workflow 1-->
      <Field ID="{2FE15855-3CAB-44A6-AB29-1600204FCA20}" Name="Workflow1Task1_Test1"  
             MaxLength="255" DisplayName="Test1" Description="" 
             Direction="None" Type="Text" Overwrite="TRUE" 
             xmlns="http://schemas.microsoft.com/sharepoint/" />
      <Field ID="{517B22A5-1B89-4C24-82BE-3D4FD99645BC}" Name="Workflow1Task1_Test2"  
             MaxLength="255" DisplayName="Test2" Description="" 
             Direction="None" Type="Text" Overwrite="TRUE" 
             xmlns="http://schemas.microsoft.com/sharepoint/" />
      <Field ID="{3ECFF1FE-F56B-4556-8805-4570D9422FF4}" Name="Workflow1Task1_Test3"  
             MaxLength="255" DisplayName="Test3" Description="" 
             Direction="None" Type="Text" Overwrite="TRUE" 
             xmlns="http://schemas.microsoft.com/sharepoint/" />
      
      <Field ID="{35363960-D998-4aad-B7E8-058DFE2C669E}" Name="Completed" 
             SourceID="http://schemas.microsoft.com/sharepoint/v3" 
             StaticName="Completed" Group="Base Columns" Type="Boolean" 
             DisplayName="Completed" Hidden="TRUE" Sealed="TRUE" 
             Overwrite="TRUE" xmlns="http://schemas.microsoft.com/sharepoint/">
        <Default>FALSE</Default>
      </Field>


      <Field ID="{c3a92d97-2b77-4a25-9698-3ab54874bc6f}" Name="Predecessors" Type="LookupMulti" Mult="TRUE" Required="FALSE" DisplayName="$Resources:core,Tasks_Predecessors;" StaticName="Predecessors" List="Self" ShowField="Title" DisplaceOnUpgrade="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3"></Field>
      <Field ID="{a8eb573e-9e11-481a-a8c9-1104a54b2fbd}" Type="Choice" Name="Priority" DisplayName="$Resources:core,Priority;" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Priority">
        <CHOICES>
          <CHOICE>$Resources:core,Priority_High;</CHOICE>
          <CHOICE>$Resources:core,Priority_Normal;</CHOICE>
          <CHOICE>$Resources:core,Priority_Low;</CHOICE>
        </CHOICES>
        <MAPPINGS>
          <MAPPING Value="1">$Resources:core,Priority_High;</MAPPING>
          <MAPPING Value="2">$Resources:core,Priority_Normal;</MAPPING>
          <MAPPING Value="3">$Resources:core,Priority_Low;</MAPPING>
        </MAPPINGS>
        <Default>$Resources:core,Priority_Normal;</Default>
      </Field>
      <Field Type="Choice" ID="{c15b34c3-ce7d-490a-b133-3f4de8801b76}" Name="Status" DisplayName="$Resources:core,Tasks_Status;" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Status">
        <CHOICES>
          <CHOICE>$Resources:core,Tasks_NotStarted;</CHOICE>
          <CHOICE>$Resources:core,Tasks_InProgress</CHOICE>
          <CHOICE>$Resources:core,Tasks_Completed</CHOICE>
          <CHOICE>$Resources:core,Tasks_Deferred</CHOICE>
          <CHOICE>$Resources:core,Tasks_Waiting</CHOICE>
        </CHOICES>
        <MAPPINGS>
          <MAPPING Value="1">$Resources:core,Tasks_NotStarted;</MAPPING>
          <MAPPING Value="2">$Resources:core,Tasks_InProgress</MAPPING>
          <MAPPING Value="3">$Resources:core,Tasks_Completed</MAPPING>
          <MAPPING Value="4">$Resources:core,Tasks_Deferred</MAPPING>
          <MAPPING Value="5">$Resources:core,Tasks_Waiting</MAPPING>
        </MAPPINGS>
        <Default>$Resources:core,Tasks_NotStarted;</Default>
      </Field>
      <Field ID="{d2311440-1ed6-46ea-b46d-daa643dc3886}" Type="Number" Name="PercentComplete" Percentage="TRUE" Min="0" Max="1" DisplayName="$Resources:core,Percent_Complete;" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="PercentComplete"></Field>
      <Field ID="{53101f38-dd2e-458c-b245-0c236cc13d1a}" Type="User" List="UserInfo" Name="AssignedTo" DisplayName="$Resources:core,Assigned_To;" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="AssignedTo"></Field>
      <Field ID="{50d8f08c-8e99-4948-97bf-2be41fa34a0d}" Type="User" List="UserInfo" Name="TaskGroup" DisplaceOnUpgrade="TRUE" DisplayName="$Resources:core,Task_Group;" ReadOnlyEnforced="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="TaskGroup"></Field>
      <Field ID="{7662cd2c-f069-4dba-9e35-082cf976e170}" Type="Note" RichText="TRUE" Name="Body" DisplayName="$Resources:core,Description;" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Body"></Field>
      <Field ID="{64cd368d-2f95-4bfc-a1f9-8d4324ecb007}" Type="DateTime" Name="StartDate" DisplayName="$Resources:core,Start_Date;" Format="DateOnly" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="StartDate">
        <Default>[today]</Default>
      </Field>
      <Field Type="DateTime" ID="{cd21b4c2-6841-4f9e-a23a-738a65f99889}" Name="DueDate" DisplayName="$Resources:core,Due_Date;" Format="DateOnly" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="DueDate"></Field>
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
          <FieldRef Name="AssignedTo"></FieldRef>
        </ViewFields>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
          <Where>
            <Or>
              <Neq>
                <FieldRef Name="Status"></FieldRef>
                <Value Type="Text">$Resources:core,Tasks_Completed</Value>
              </Neq>
              <IsNull>
                <FieldRef Name="Status"></FieldRef>
              </IsNull>
            </Or>
          </Where>
        </Query>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,All_Tasks;" DefaultView="TRUE" MobileView="True" MobileDefaultView="False" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/issues.png" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Attachments"></FieldRef>
          <FieldRef Name="DocIcon"></FieldRef>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="AssignedTo"></FieldRef>
          <FieldRef Name="Status"></FieldRef>
          <FieldRef Name="Priority"></FieldRef>
          <FieldRef Name="DueDate"></FieldRef>
          <FieldRef Name="PercentComplete"></FieldRef>
          <FieldRef Name="Predecessors"></FieldRef>
        </ViewFields>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
        <Query>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
      </View>
      <View BaseViewID="2" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,My_Tasks;" MobileView="True" MobileDefaultView="True" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/issues.png" Url="MyItems.aspx" ReqAuth="TRUE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="Status"></FieldRef>
          <FieldRef Name="Priority"></FieldRef>
          <FieldRef Name="DueDate"></FieldRef>
          <FieldRef Name="PercentComplete"></FieldRef>
        </ViewFields>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
        <Query>
          <Where>
            <Eq>
              <FieldRef Name="AssignedTo"></FieldRef>
              <Value Type="Integer">
                <UserID />
              </Value>
            </Eq>
          </Where>
          <OrderBy>
            <FieldRef Name="Status"></FieldRef>
            <FieldRef Name="Priority"></FieldRef>
          </OrderBy>
        </Query>
      </View>
      <View BaseViewID="3" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,Due_Today;" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/issues.png" Url="duetoday.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="AssignedTo"></FieldRef>
          <FieldRef Name="Status"></FieldRef>
          <FieldRef Name="Priority"></FieldRef>
          <FieldRef Name="PercentComplete"></FieldRef>
          <FieldRef Name="Predecessors"></FieldRef>
        </ViewFields>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
        <Query>
          <Where>
            <Eq>
              <FieldRef Name="DueDate"></FieldRef>
              <Value Type="DateTime">
                <Today></Today>
              </Value>
            </Eq>
          </Where>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
      </View>
      <View BaseViewID="4" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,Active_Tasks;" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/issues.png" Url="active.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="AssignedTo"></FieldRef>
          <FieldRef Name="Status"></FieldRef>
          <FieldRef Name="Priority"></FieldRef>
          <FieldRef Name="DueDate"></FieldRef>
          <FieldRef Name="PercentComplete"></FieldRef>
          <FieldRef Name="Predecessors"></FieldRef>
        </ViewFields>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
        <Query>
          <Where>
            <Neq>
              <FieldRef Name="Status"></FieldRef>
              <Value Type="Text">$Resources:core,Tasks_Completed</Value>
            </Neq>
          </Where>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
      </View>
      <View BaseViewID="5" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,By_Assigned_To;" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/issues.png" Url="byowner.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="AssignedTo"></FieldRef>
          <FieldRef Name="Status"></FieldRef>
          <FieldRef Name="Priority"></FieldRef>
          <FieldRef Name="DueDate"></FieldRef>
          <FieldRef Name="PercentComplete"></FieldRef>
          <FieldRef Name="Predecessors"></FieldRef>
        </ViewFields>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
        <Query>
          <OrderBy>
            <FieldRef Name="AssignedTo"></FieldRef>
            <FieldRef Name="Status"></FieldRef>
          </OrderBy>
        </Query>
      </View>
      <View BaseViewID="7" Type="HTML" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="AssignedTo"></FieldRef>
          <FieldRef Name="Status"></FieldRef>
        </ViewFields>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
      </View>
      <View BaseViewID="8" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,By_My_Groups;" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/issues.png" Url="MyGrTsks.aspx" ReqAuth="TRUE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="Status"></FieldRef>
          <FieldRef Name="Priority"></FieldRef>
          <FieldRef Name="DueDate"></FieldRef>
          <FieldRef Name="PercentComplete"></FieldRef>
          <FieldRef Name="Predecessors"></FieldRef>
        </ViewFields>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
        <Query>
          <Where>
            <Membership Type="CurrentUserGroups">
              <FieldRef Name="AssignedTo" />
            </Membership>
          </Where>
          <GroupBy Collapse="FALSE">
            <FieldRef Name="AssignedTo" />
          </GroupBy>
          <OrderBy>
            <FieldRef Name="AssignedTo"></FieldRef>
            <FieldRef Name="Status"></FieldRef>
            <FieldRef Name="Priority"></FieldRef>
          </OrderBy>
        </Query>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
    <DefaultDescription>$Resources:core,camlidT13;</DefaultDescription>
  </MetaData>
</List>